﻿@model HdipCricketClub.Models.Fixture

@{
    ViewBag.Title = "UpdateError";
}

<h2>Update Error</h2>

<h2>The following transaction cannot be deleted:</h2>

<fieldset>
    <legend>Fixture</legend>

    <div class="display-label">@Html.LabelFor(model => model.Team.name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Team.name)
    </div>

    <div class="display-label">Opponent:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Opponent.club_name) @Html.DisplayFor(model => model.Opponent.team_name )
    </div>

    <div class="display-label">Type:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.type)
    </div>

    <div class="display-label">Home or Away:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.home)
    </div>

    <div class="display-label">Date:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.date)
    </div>

    <div class="display-label">Start Time:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.start_time)
    </div>

    <div class="display-label">No of players:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.no_of_players)
    </div>
        
</fieldset>
<p>
        @Html.ActionLink("Back to List", "Index")
</p>
